/**
 * 
 */
package com.ap.generator.managerefund;

import static com.ap.datagen.core.GeneratorHelper.buildA;
import static com.ap.datagen.core.GeneratorHelper.randomGeneratorFromEnum;
import static com.ap.datagen.core.Nullable.nullable;

import com.ap.core.cxf.jaxb.managerefund.AbstractRequestRetrieveRefundAccountGeneratorBuilder;
import com.ap.core.cxf.jaxb.managerefund.RefundMsgHdrTypeGenerator;
import com.ap.core.cxf.jaxb.managerefund.RefundMsgType;
import com.ap.generator.messageheader.RefundMsgHdrTypeGeneratorBuilder;

/**
 * @author Rohit.Dixit
 *
 */
public class RequestRetrieveRefundAccountGeneratorBuilder extends AbstractRequestRetrieveRefundAccountGeneratorBuilder{

	@Override
	public void setupDefaults() {
		 this.msgHdrGenerator =  nullable(buildA(RefundMsgHdrTypeGeneratorBuilder.msgHdrTypeGenerator().withMsgType(RefundMsgType.GETACCFORREFUND)));
		  this.refundRequestInfoGenerator =  nullable(buildA(RefundRequestInfoTypeGeneratorBuilder.getRefundRequestInfoTypeGenerator()));
		
	}

	
	public static RequestRetrieveRefundAccountGeneratorBuilder getRetrieveRefundAccountTypeGenerator() {
		return new RequestRetrieveRefundAccountGeneratorBuilder();
	}
}
